package com.jxd.dianping.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CategoryReq {
    @NotBlank(message = "品类名不为空")
    private String name;
    @NotBlank(message = "品类图标不为空")
    private String iconUrl;
    @NotNull(message = "权重不为空")
    private Integer sort;
}
